package com.tn.jinq.event;

/**
 * The base class for all change events.
 */
public abstract class AbstractChangeEvent
{
  private ChangeEventType type;

  /**
   * Creates a new <code>ChangeEvent</code> initialized with the <code>type</code>.
   *
   * @param type the type of change.
   */
  public AbstractChangeEvent(ChangeEventType type)
  {
    this.type = type;
  }

  /**
   * Returns the type.
   */
  public ChangeEventType getType()
  {
    return type;
  }

}
